home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Encrypt Context.xpl < prev    next >
Text File  |  2001-08-28  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Files&Folders\Folders Context Menu"
  5. "NAME"="Encryt/Decrypt Context Menu"
  6. "VERSION"="1.05"
  7. "OSVERSION"="0101011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Add Encrypt/Decrypt commands to any folder"
  10. "DESCRIPTION 1"="For NTFS systems: Add Encrypt/Decrypt to Context [right-click] Menu."
  11. "AUTHOR"="Ojatex@aol.com"
  12. "CONTACTURL"="http://members.aol.com/ojatex/"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information about the X-Setup program, go to http://www.xteq.com"
  15.  
  16.  
  17. sP="HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EncryptionContextMenu"
  18.  
  19. Sub Plugin_Initialize 
  20.  i=RegReadValue(sP)
  21.  if i=1 or IsEmpty(i) then
  22.     SetUIElement 1,true
  23.  end if
  24. End Sub
  25.  
  26. Sub Plugin_CheckData(ElementIndex)
  27. End Sub
  28.  
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  b=GetUIElement(1)
  32.  if b=true then
  33.   Call RegWriteValue(sP,"1",2)
  34.  else
  35.   Call RegWriteValue(sP,"0",2)
  36.  end if
  37.  
  38.  Restart
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.